package com.cdxy.model.dto.resp;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author: tangy
 * @Date: 2020/3/21 12:51
 */
@Data
@ApiModel
public class BasicUserInfoResp implements Serializable {

    private static final long serialVersionUID = 5942628943062511344L;

    @ApiModelProperty(value = "用户头像")
    private String avatar;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "性别（0-女 1-男 3-保密）")
    private Integer sex;

    @ApiModelProperty(value = "爱好")
    private String hobbit;

    @ApiModelProperty(value = "个性签名")
    private String selfhoodSign;

    @ApiModelProperty(value = "地区")
    private String areas;

    @ApiModelProperty(value = "出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthDay;

    @ApiModelProperty(value = "手机号")
    private String phone;

}
